home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
ASTRONOM
/
H139.ZIP
/
UI101.ZIP
/
IO
/
DR
/
DR_SPEC.C
< prev
next >
Wrap
C/C++ Source or Header
|
1991-11-04
|
2KB
|
77 lines
/*************************************************************************
dr_spec.c Directory (dr) subroutines
for Bywater Software.
Specification file.
Copyright (c) 1991, Ted A. Campbell
Bywater Software
P. O. Box 4023
Duke Station
Durham, NC 27706
email: tcamp@hercules.acpub.duke.edu
Copyright and Permissions Information:
All U.S. and international copyrights are claimed by the
author. The author grants permission to use this code
and software based on it under the following conditions:
(a) in general, the code and software based upon it may be
used by individuals and by non-profit organizations; (b) it
may also be utilized by governmental agencies in any country,
with the exception of military agencies; (c) the code and/or
software based upon it may not be sold for a profit without
an explicit and specific permission from the author, except
that a minimal fee may be charged for media on which it is
copied, and for copying and handling; (d) the code must be
distributed in the form in which it has been released by the
author; and (e) the code and software based upon it may not
be used for illegal activities.
**************************************************************************/
#include "dr.h"
/*************************************************************************
dr_first()
This function returns the first instance of a file matching an
ambiguous file specifier (TRUE) or FALSE if no matches are found.
The argument "findb" is a pointer to a character string which
is the ambiguous file specifier.
The argument "retb" is a pointer to a character buffer where
the returned value (if TRUE) will be written.
**************************************************************************/
dr_first( findb, retb )
char findb[];
struct dir_ent *retb;
{
}
/*************************************************************************
dr_next()
This function returns the next instance of a file matching the
ambiguous file specifier previously supplied to dr_first(TRUE),
or FALSE if no further matches are found.
The argument "retb" is a pointer to a character buffer where
the returned value (if TRUE) will be written.
**************************************************************************/
dr_next( retb )
struct dir_ent *retb;
{
}